text/template/parse.item.val (field)

27 uses

	text/template/parse (current package)
		lex.go#L18: 	val  string   // The value of this item.
		lex.go#L27: 		return i.val
		lex.go#L29: 		return fmt.Sprintf("<%s>", i.val)
		lex.go#L30: 	case len(i.val) > 10:
		lex.go#L31: 		return fmt.Sprintf("%.10q...", i.val)
		lex.go#L33: 	return fmt.Sprintf("%q", i.val)
		lex.go#L285: 			if len(i.val) > 0 {
		parse.go#L208: 			if strings.HasSuffix(token.val, " action") {
		parse.go#L344: 	t.Name, err = strconv.Unquote(name.val)
		parse.go#L383: 		return t.newText(token.pos, token.val)
		parse.go#L389: 		return t.newComment(token.pos, token.val)
		parse.go#L484: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L485: 			t.vars = append(t.vars, v.val)
		parse.go#L486: 		case next.typ == itemChar && next.val == ",":
		parse.go#L488: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L489: 			t.vars = append(t.vars, v.val)
		parse.go#L688: 		s, err := strconv.Unquote(token.val)
		parse.go#L746: 			chain.Add(t.next().val)
		parse.go#L782: 		if checkFunc && !t.hasFunction(token.val) {
		parse.go#L783: 			t.errorf("function %q not defined", token.val)
		parse.go#L785: 		return NewIdentifier(token.val).SetTree(t).SetPos(token.pos)
		parse.go#L791: 		return t.useVar(token.pos, token.val)
		parse.go#L793: 		return t.newField(token.pos, token.val)
		parse.go#L795: 		return t.newBool(token.pos, token.val == "true")
		parse.go#L797: 		number, err := t.newNumber(token.pos, token.val, token.typ)
		parse.go#L810: 		s, err := strconv.Unquote(token.val)
		parse.go#L814: 		return t.newString(token.pos, token.val, s)